package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "questions")
public class Questions implements java.io.Serializable{
    private String id;
    private ObjectId questionnaireId;    //问卷id
    private String question;    //题目内容
    private Double created; 	//创建时间

}
